package org.rendao.entity
{
	import com.googlecode.flexxb.FlexXBEngine;

	[XmlClass(alias = "searchResult")]
	public class SearchResult
	{
		FlexXBEngine.instance.serialize(new SearchResult());
		FlexXBEngine.instance.serialize(new TBFError());
		FlexXBEngine.instance.serialize(new UserRole());
		FlexXBEngine.instance.serialize(new UserDetail());
		FlexXBEngine.instance.serialize(new FirstIndex());
		FlexXBEngine.instance.serialize(new SecondIndex());
		FlexXBEngine.instance.serialize(new QuestionCriteria());
		FlexXBEngine.instance.serialize(new Question());
		FlexXBEngine.instance.serialize(new CommonSummary());
		
		[XmlElement]
		public var totalCount:int;
		
		[XmlElement]
		[XmlArray(getRuntimeType = "true")]
		[ArrayElementType("org.rendao.entity.TBFError")]
		[ArrayElementType("org.rendao.entity.UserDetail")]
		[ArrayElementType("org.rendao.entity.UserRole")]
		[ArrayElementType("org.rendao.entity.FirstIndex")]
		[ArrayElementType("org.rendao.entity.SecondIndex")]
		[ArrayElementType("org.rendao.entity.QuestionCriteria")]
		[ArrayElementType("org.rendao.entity.Question")]
		[ArrayElementType("org.rendao.entity.CommonSummary")]
		public var records:Array;
	}
}